package com.zzyl.service;

import com.zzyl.dto.NursePlanProjectDto;
import com.zzyl.entity.NursePlanProject;
import com.zzyl.vo.NursePlanProjectVo;

import java.util.List;

public interface NursePlanProjectService {
    /**
     * 批量插入中间表数据
     * @param projectPlans
     * @param planId
     */
    void insert(List<NursePlanProjectDto> projectPlans, Long planId);

    /**
     * 根据id删除中间表
     * @param planId
     */
    void deleteBatch(Long planId);

    /**
     * 根据id查询中间表
     * @param id
     * @return
     */
    List<NursePlanProjectVo> findById(Long id);
}
